using System.Threading.Tasks;
using HengTong.Model.Extension;

namespace HengTong.ViewModel._Admin.SysSiteConfigVms;

public partial class SysSiteConfigVm
{
    public override async Task DoAddAsync()
    {           
        await base.DoAddAsync();
        Wtm.ClearSiteConfig();
    }

    public override async Task DoEditAsync(bool updateAllFields = false)
    {
        await base.DoEditAsync(updateAllFields);
        Wtm.ClearSiteConfig();
    }
        

    public override void DoDelete()
    {
        base.DoDelete();
        Wtm.ClearSiteConfig();
    }
}